package DesignPatern.A18_备忘录模式.A02_抽象模式;

/**
 * @Author: Du
 * @Date: 2021/8/3 14:24
 * 存储状态的类
 */
public class Caretaker
{
    private Memento memento;
    
    public Memento getMemento()
    {
        return memento;
    }
    
    public void setMemento(Memento memento)
    {
        this.memento = memento;
    }
}
